<template>
  <div class="container">首页</div>
</template>

<script lang="ts">
import { defineComponent, onMounted } from "vue";
import { Store, useStore } from 'vuex';
import { useNewList } from "../compositions";
import { getNewsList } from "../services";
import { NAV_TYPES } from "../typings";


export default defineComponent({
  name: "Home",
  setup() {
    const store: Store<any> = useStore()
    const newsList = useNewList(store);
    console.log("222", newsList)

    return {
      newsList
    }
  },
});
</script>

